/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.service.api;

import com.koron.common.bean.StaffBean;
import org.springframework.web.multipart.MultipartFile;
import org.swan.bean.MessageBean;

import java.util.List;
import java.util.Map;

public interface ProjectSafetyMeetingService {
    /**
     * 相关方安全会议导入
     * @param user
     * @param file 文件
     * @param projectId 项目id
     * @param enterpriseId 相关方id
     * @return
     */
    MessageBean<?> importExcel(StaffBean user, MultipartFile file, String projectId, String enterpriseId);

    /**
     * 列表查询
     * @param meetingName 会议名称
     * @param projectId 项目id
     * @param enterpriseId 相关方id
     * @param page 当前页
     * @param pageSize 每页条数
     * @return
     */
    MessageBean queryForList(String meetingName, String projectId, String enterpriseId, Integer page, Integer pageSize);

    /**
     * 导出 列表查询
     * @param meetingName 会议名称
     * @param projectId 项目id
     * @param enterpriseId 相关方id
     * @return
     */
    List<Map> exportForList(String meetingName, String projectId, String enterpriseId);

    /**
     * 根据ID删除安全会议
     * @param id
     * @return
     */
    MessageBean deleteById(String id);
}
